package com.gable.exhibition.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by Lesson on 2018/1/1.
 */
@Controller
@RequestMapping(value="/index")
public class IndexController {
    Logger logger = Logger.getLogger(IndexController.class);

    @RequestMapping(value="/page")
    public String page(HttpServletRequest request, HttpServletResponse response){
        logger.info("===============进入首页");
        return "index";
    }
}
